in jQuery, why are we using this ({ })
Posted
by uzay95
on Stack Overflow
See other posts from Stack Overflow
or by uzay95
Published on 2010-04-07T18:00:56Z
Indexed on
2010/04/07
20:03 UTC
Read the original article
Hit count: 180
jQuery
|JavaScript
I wonder that, why are we using ({ })
?
Is it delegate ?
What does it mean to use this syntax ?
What are we wrapping with it ?
For ex:
$.ajaxSetup ({ // <-- THIS
error: fError,
compelete: fComp,
success: fSucc
}); // <-- AND THIS
© Stack Overflow or respective owner